﻿using Microsoft.AspNetCore.Http;
using System;
using System.Threading.Tasks;

namespace Jackletter.BlendAuth
{
    public class BlendAuthenticationEvents
    {
        public Func<string, HttpContext, Task> OnValidateToken { get; set; } = (token, context) => Task.CompletedTask;
        public virtual Task ValidateToken(string token, HttpContext context) => OnValidateToken(token, context);

    }
}
